package com.ewzj.bigdata.mvp.model.entity.resbean;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Author:zhangjing
 * Time:2018/3/5  上午9:44
 * Name: this is TabBean
 * Email:zhangjingworkmol@163.com
 */

public class TabBean implements Parcelable {


    /**
     * id : 1
     * name : 推荐
     */

    private String id;
    private String name;
    @SerializedName("banner_url")
    private String bannerurl;

    public String getBannerurl() {
        return bannerurl;
    }

    public void setBannerurl(String bannerurl) {
        this.bannerurl = bannerurl;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public TabBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.id);
        dest.writeString(this.name);
        dest.writeString(this.bannerurl);
    }

    protected TabBean(Parcel in) {
        this.id = in.readString();
        this.name = in.readString();
        this.bannerurl = in.readString();
    }

    public static final Creator<TabBean> CREATOR = new Creator<TabBean>() {
        @Override
        public TabBean createFromParcel(Parcel source) {
            return new TabBean(source);
        }

        @Override
        public TabBean[] newArray(int size) {
            return new TabBean[size];
        }
    };
}
